tar xf ${DOWNLOADDIR}/curl-8.15.0.tar.xz -C ${BUILDDIR}
pushd ${BUILDDIR}/curl-8.15.0
    ./configure --prefix=/usr --libdir=/usr/lib64 --build=${CROSS_HOST} \
                --host=${CROSS_TARGET} --with-openssl \
                --enable-threaded-resolver --with-ca-path=/etc/ssl/certs
	make ${JOBS}
	make DESTDIR=${SYSDIR}/sysroot install
	cp ${SYSDIR}/sysroot/usr/bin/curl-config ${SYSDIR}/cross-tools/bin/
popd
